﻿<%@ Page Language="C#" MasterPageFile="~/Org/MasterPage.master" AutoEventWireup="true" CodeFile="frmO_EmpFamilyInput.aspx.cs" Inherits="Org_frmO_EmpFamilyInput" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="maindiv1">
        <div class="Header1">
            <span>＊: 必須</span>
        </div>
        <div>&nbsp;</div>
        <div class="detail-admin-row">
            <span class="detail-admin-label">続柄コード :</span>
            <asp:DropDownList ID="ddl_続柄コード" runat="server" Width="132px">
            <asp:ListItem Value="-1" selected="true">-選択-</asp:ListItem>
            </asp:DropDownList>
           <span class="required-field"> *</span>
        </div>       
        <div class="detail-admin-row">
            <span class="detail-admin-label">氏名 :</span>
            <asp:TextBox ID="txt_氏名" runat="server" Width="259px"></asp:TextBox>
           <span class="required-field"> *</span>
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label">性別 :</span>
            <asp:DropDownList ID="ddl_性別" runat="server" Width="118px">
            <asp:ListItem Value="-1" selected="true">-選択-</asp:ListItem>
            </asp:DropDownList>
           <span class="required-field"> *</span>
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label">生年月日 :</span>
             <asp:DropDownList id="ddl_生年月日d" runat="server" Width="78px">
                <asp:ListItem Value="-1">-選択-日</asp:ListItem>
                <asp:ListItem Value="1">1</asp:ListItem>
                <asp:ListItem Value="2">2</asp:ListItem>
                <asp:ListItem Value="3">3</asp:ListItem>
                <asp:ListItem Value="4">4</asp:ListItem>
                <asp:ListItem Value="5">5</asp:ListItem>
                <asp:ListItem Value="6">6</asp:ListItem>
                <asp:ListItem Value="7">7</asp:ListItem>
                <asp:ListItem Value="8">8</asp:ListItem>
                <asp:ListItem Value="9">9</asp:ListItem>
                <asp:ListItem Value="10">10</asp:ListItem>
                <asp:ListItem Value="11">11</asp:ListItem>
                <asp:ListItem Value="12">12</asp:ListItem>
                <asp:ListItem Value="13">13</asp:ListItem>
                <asp:ListItem Value="14">14</asp:ListItem>
                <asp:ListItem Value="15">15</asp:ListItem>
                <asp:ListItem Value="16">16</asp:ListItem>
                <asp:ListItem Value="17">17</asp:ListItem>
                <asp:ListItem Value="18">18</asp:ListItem>
                <asp:ListItem Value="19">19</asp:ListItem>
                <asp:ListItem Value="20">20</asp:ListItem>
                <asp:ListItem Value="21">21</asp:ListItem>
                <asp:ListItem Value="22">22</asp:ListItem>
                <asp:ListItem Value="23">23</asp:ListItem>
                <asp:ListItem Value="24">24</asp:ListItem>
                <asp:ListItem Value="25">25</asp:ListItem>
                <asp:ListItem Value="26">26</asp:ListItem>
                <asp:ListItem Value="27">27</asp:ListItem>
                <asp:ListItem Value="28">28</asp:ListItem>
                <asp:ListItem Value="29">29</asp:ListItem>
                <asp:ListItem Value="30">30</asp:ListItem>
                <asp:ListItem Value="31">31</asp:ListItem>
              </asp:DropDownList>
              <asp:DropDownList id="ddl_生年月日m" runat="server" Width="78px">
                <asp:ListItem Value="-1">-選択-月</asp:ListItem>
                <asp:ListItem Value="1">1</asp:ListItem>
                <asp:ListItem Value="2">2</asp:ListItem>
                <asp:ListItem Value="3">3</asp:ListItem>
                <asp:ListItem Value="4">4</asp:ListItem>
                <asp:ListItem Value="5">5</asp:ListItem>
                <asp:ListItem Value="6">6</asp:ListItem>
                <asp:ListItem Value="7">7</asp:ListItem>
                <asp:ListItem Value="8">8</asp:ListItem>
                <asp:ListItem Value="9">9</asp:ListItem>
                <asp:ListItem Value="10">10</asp:ListItem>
                <asp:ListItem Value="11">11</asp:ListItem>
                <asp:ListItem Value="12">12</asp:ListItem>
              </asp:DropDownList>
              <asp:DropDownList id="ddl_生年月日y" runat="server" Width="77px">
                <asp:ListItem Value="-1">-選択-年</asp:ListItem>
              </asp:DropDownList>
           <span class="required-field">* </span>
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label">国籍 :</span>
            <asp:DropDownList ID="ddl_国籍" runat="server" Width="115px">
            <asp:ListItem Value="-1" selected="true">-選択-</asp:ListItem>
            </asp:DropDownList>
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label">同居区分 :</span>
            <asp:DropDownList ID="ddl_同居区分" runat="server" Width="115px">
            <asp:ListItem Value="-1" selected="true">-選択-</asp:ListItem>
            </asp:DropDownList>     
              <span class="required-field">* </span>    
        </div>
         <div class="detail-admin-row">
            <span class="detail-admin-label">同伴区分: :</span>
             <asp:DropDownList ID="ddl_同伴区分" runat="server">
             <asp:ListItem Value="-1" selected="true">-選択-</asp:ListItem>
             </asp:DropDownList>    
              <span class="required-field">* </span>
        </div>
         <div class="detail-admin-row">
            <span class="detail-admin-label">郵便番号 :</span>
             <asp:TextBox ID="txt_斡旋会社" runat="server" Width="186px"></asp:TextBox>
              <span class="required-field">* </span>
        </div>
         <div class="detail-admin-row">
            <span class="detail-admin-label">現住所： :</span>
             <asp:TextBox ID="txt_現住所" runat="server" Width="274px" Height="65px" TextMode="MultiLine"></asp:TextBox>   
              <span class="required-field">* </span> 
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label">帰省先住所 :</span>
            <asp:TextBox ID="txt_帰省先住所" runat="server" Width="274px" Height="65px" TextMode="MultiLine"></asp:TextBox>   
             <span class="required-field">* </span>
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label">住居国情報:</span>
            <asp:TextBox ID="txt_住居国情報" runat="server"></asp:TextBox>     
        </div>
         <div class="detail-admin-row">
            <span class="detail-admin-label">電話番号 :</span>
            <asp:TextBox ID="txt_電話番号" runat="server"></asp:TextBox>           
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label">Email :</span>
            <asp:TextBox ID="txt_Email" runat="server"></asp:TextBox>       
        </div>
         <div class="detail-admin-row">
            <span class="detail-admin-label">勤務先･通学先 :</span>
             <asp:TextBox ID="txt_勤務先通学先" runat="server"></asp:TextBox>        
        </div>
         
        <div class="detail-admin-row">
            <span class="detail-admin-label">職業名 :</span>
            <asp:TextBox ID="txt_職業名" runat="server"></asp:TextBox>           
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label">外国人登録番号:</span>
            <asp:TextBox ID="txt_外国人登録番号" runat="server"></asp:TextBox>           
        </div>
                 
        <div class="detail-admin-row">
            <span class="detail-admin-label">家族年収:</span>
            <asp:TextBox ID="txt_家族年収" runat="server"></asp:TextBox>   
        </div>
       <%-- <div class="detail-admin-row">
            <span class="detail-admin-label">郵便番号:</span>
            <asp:TextBox ID="txt_郵便番号" runat="server"></asp:TextBox>           
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label">住所:</span>
            <asp:TextBox ID="txt_住所" runat="server"></asp:TextBox>           
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label">建物名:</span>
            <asp:TextBox ID="txt_建物名" runat="server"></asp:TextBox>    
        </div>  
        --%>
        <div style="margin:20px;margin-left:30%">
            <asp:Button ID="btn登録" runat="server" Text="登録" CssClass="btn" OnClientClick="alert('この部分がまだ作成しません。')" />
             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnリセット" runat="server" Text="リセット" CssClass="btn" OnClientClick="alert('この部分がまだ作成しません。')" />
        </div>
        
        <div class="headerLineAndGray">＊: 家族情報一覧 </div>
   
    <asp:HiddenField id="hd_pageCount" runat="server"></asp:HiddenField> 
    <div style="MARGIN: 10px 50px 50px" class="detail-admin-row">
            <!--<asp:TemplateField HeaderText="続柄コード" SortExpression="続柄コード">
                <ItemTemplate>
                    <asp:LinkButton id="HyperLink1" runat="server"  CommandName="view" Text='<%# Bind("続柄コード") %>' PostBackUrl="~/Org/frmO_TraineeBasicInfo.aspx" ></asp:LinkButton> 
                </ItemTemplate>
                 <FooterTemplate>
                         <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/controls/first copy.gif"  CommandArgument="First" CommandName="Page" />
                        <asp:ImageButton ID="ImageButton2" runat="server"   ImageUrl="~/Images/controls/last copy.gif" CommandArgument="Prev" CommandName="Page"/>
                         ページ<asp:DropDownList ID="ddlPages" runat="server" AutoPostBack="True" ></asp:DropDownList> 
                            / <asp:Label ID="lblPageCount" runat="server"></asp:Label>
                             <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/Images/controls/next copy.gif"   CommandArgument="Next" CommandName="Page" />
                        <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/Images/controls/previous copy.gif"  CommandArgument="Last" CommandName="Page"/>
                    </FooterTemplate>
                     <FooterStyle HorizontalAlign="center" VerticalAlign="Middle" BorderWidth="1" BorderStyle="Solid"  BorderColor="Black" BackColor="#808080"></FooterStyle>
                </asp:TemplateField>-->
            <asp:GridView id="grv_human" runat="server"   Width="100%"  ShowFooter="True" AutoGenerateColumns="False" CssClass="grid">
            
            <Columns>
            
                
                               
                <asp:BoundField HeaderText="続柄コード" />
                <asp:BoundField HeaderText="氏名" />
                <asp:BoundField HeaderText="フリガナ" />
                <asp:BoundField HeaderText="性別" />
                
              </Columns>
              <RowStyle BackColor="#FFFFCC" BorderWidth="1" BorderStyle="Solid"  BorderColor="Black"/>
              <AlternatingRowStyle BackColor="White" />
               <SelectedRowStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" />
            </asp:GridView> 
           <!-- <asp:GridView id="grv_human1" runat="server"  BorderColor="Black"  BorderWidth="1px" BackColor="LightGoldenrodYellow" Width="100%" AllowSorting="True" EmptyDataText="trong" ShowFooter="True" Height="40px" AutoGenerateColumns="False" CssClass="grid">
            
            <Columns>
            
                <asp:TemplateField HeaderText="続柄コード" SortExpression="続柄コード"><ItemTemplate>
                    <asp:LinkButton id="HyperLink1" runat="server" Text='<%# Eval("続柄コード") %>' CommandArgument='<%# Eval("社員ID") %>' CommandName="view" ></asp:LinkButton> 
                   
                </ItemTemplate>
                 <FooterTemplate>
                         <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/controls/first copy.gif"  CommandArgument="First" CommandName="Page" />
                        <asp:ImageButton ID="ImageButton2" runat="server"   ImageUrl="~/Images/controls/last copy.gif" CommandArgument="Prev" CommandName="Page"/>
                         ページ<asp:DropDownList ID="ddlPages" runat="server" AutoPostBack="True" ></asp:DropDownList> 
                            / <asp:Label ID="lblPageCount" runat="server"></asp:Label>
                             <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/Images/controls/next copy.gif"   CommandArgument="Next" CommandName="Page" />
                        <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/Images/controls/previous copy.gif"  CommandArgument="Last" CommandName="Page"/>
                    </FooterTemplate>
                     <FooterStyle HorizontalAlign="center" VerticalAlign="Middle"  BorderWidth="0px" BorderStyle="None"  BackColor="Tan"></FooterStyle>
               
                <HeaderStyle BackColor="Tan" Font-Bold="True"></HeaderStyle>
                
                </asp:TemplateField>

                
                <asp:TemplateField HeaderText="氏名" SortExpression="氏名">
                    
                    <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" Text='<%# Bind("氏名") %>'></asp:Label>
                     </ItemTemplate>
                  
                    <HeaderStyle BackColor="Tan" Font-Bold="True"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="フリガナ" SortExpression="フリガナ">
                   
                    <ItemTemplate>
                        <asp:Label ID="Label3" runat="server" Text='<%# Bind("フリガナ") %>'></asp:Label>
                    </ItemTemplate>
                   
                    <HeaderStyle BackColor="Tan" Font-Bold="True"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:TemplateField>  
                <asp:TemplateField HeaderText="性別" SortExpression="性別">
                   
                    <ItemTemplate>
                        <asp:Label ID="Label3" runat="server" Text='<%# Bind("性別") %>'></asp:Label>
                    </ItemTemplate>
                   
                    <HeaderStyle BackColor="Tan" Font-Bold="True"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:TemplateField>   
                                              
          </Columns>
           <SelectedRowStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" />
    </asp:GridView>  -->    
  
</div>
 <div class="detail-admin-row">
             <div class="btn_back">
                <asp:Button ID="btn_戻る"  runat="server" Text="←戻る" OnClick="btn_戻る_Click" CssClass="btn"/>
             </div>
             <div class="btn_next">
                 <asp:Button ID="btn_次"  runat="server" Text="次→" OnClick="btn_次_Click"  CssClass="btn"/>
             </div>
         </div>
  <div>&nbsp;</div>
  <br /> 

</div>
</asp:Content>

